/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package view.additional;

import com.sun.lwuit.Image;

/**
 *
 * @author Kvest
 */
public class CellItem
{
    private int id;
    private String text;
    private Image icon;
    private boolean enabled;

    public CellItem(int id,String text)
    {
        this(id, text, null);
    }

    public CellItem(int id,String text, Image image)
    {
        this.id = id;
        this.text = text;
        this.icon = image;
        this.enabled = true;
    }

    public int getId()
    {
        return id;
    }

    public Image getIcon() 
    {
        return icon;
    }

    public void setIcon(Image icon) 
    {
        this.icon = icon;
    }

    public String toString()
    {
        return text;
    }

    public boolean isEnabled() 
    {
        return enabled;
    }

    public void setEnabled(boolean enabled) 
    {
        this.enabled = enabled;
    }
}
